package com.atguigu.eduService.service;

import com.atguigu.eduService.entity.EduComment;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 * 评论 服务类
 * </p>
 *
 * @author smday
 * @since 2020-08-01
 */
public interface EduCommentService extends IService<EduComment> {

    /**
     * 根据课程id,分页查询
     * @param page 分页对象
     * @param courseId 课程id
     */
    Map<String, Object> getCommentPage(Page<EduComment> page, String courseId);
}
